const ejs = require('ejs');

ejs.renderFile('./view/ejs.ejs',{name:"puhongming"},function(err,data){
    if( err )
    {
        console.log('编译失败');
    }else
    {
        console.log(data);
        
    }
});